package com.blog.service;

import java.sql.SQLException;
import java.util.List;

import com.blog.entity.Blog;
import com.blog.entity.Tag;


public interface TagService {
    public int selAllTagCount() throws SQLException;

    public int insTag(Tag tag) throws Exception;

    public int delTag(int id) throws Exception;

    public List<Tag> selAllTag() throws Exception;

    //分页查询
    public List<Tag> selTagByPage(int currentPage, int pageCount) throws Exception;


}
